<template>
    <div class="navbar-box">
        <div class="item iconfont" @click="$router.go(-1)">&#xe675;</div>
        <div class="title">购物车({{size}})</div>
        <div class="item iconfont"><span>编辑</span>&#xe639;</div>
    </div>
</template>
<script>
export default {
    data(){
        return {
            size:2,
        }
    }
}
</script>
<style lang="less" scoped>
.navbar-box{
    background-color:@white;
    position: absolute;
    height: @h;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    border-bottom: 1PX solid @99;
    z-index: 100;
    .item{
        position: relative;
        line-height: @h;
        flex-grow: 1;
        font-size: 40px;
        text-align: center;
        span{
            position: absolute;
            font-size: 30px;
            left:-40%;
        }
    }
    .title{
        flex-grow: 6;
        line-height: @h;
        text-align: center;
        font-size: 36px;

    }
}
</style>

